Skip to content

Add draft banner to GH Pages and PR preview builds#4445

Merged
kfranqueiro merged 5 commits intomainfrom
kgf-draft-banner
Jun 13, 2025
Merged

Add draft banner to GH Pages and PR preview builds#4445
kfranqueiro merged 5 commits intomainfrom
kgf-draft-banner

Conversation

@kfranqueiro
Copy link
Copy Markdown
Contributor

This adds a draft banner to the top of Techniques and Understanding pages in builds run for GitHub Pages deploys or Netlify PR previews.

The banner includes a link to the equivalent specific page under w3.org/WAI.

Yellow banner with bold text, "This is an unpublished editor’s draft that might include content that is not yet approved. View the published version". The latter phrase is a link.

@netlify /techniques

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 12, 2025

Deploy Preview for wcag2 ready!

Name Link
🔨 Latest commit b82536d
🔍 Latest deploy log https://app.netlify.com/projects/wcag2/deploys/684c55a8cc36a90008e52e91
😎 Deploy Preview https://deploy-preview-4445--wcag2.netlify.app/techniques
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread _includes/draft-banner.html Outdated
Comment thread _includes/draft-banner.html Outdated
@kfranqueiro kfranqueiro merged commit c7ddbad into main Jun 13, 2025
5 checks passed
@kfranqueiro kfranqueiro deleted the kgf-draft-banner branch June 13, 2025 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants